
class Echo:
    def __init__(self, cfg):
        pass

    def process(self, message):
        print str(self) + ': ' + str(message)

class Router:
    def __init__(cfg):
        # TODO:
        # - connect to DB here
        # - pass the connection details via cfg??

        pass

    def process(self, message):
        pass
